package hunter20240514;

public class Test2 {
    public static void main(String[] args) {
        Manager m = new Manager(01, "hunter", 50000, 10000);
        Chef c = new Chef(02, "jacky", 10000);
        m.eat();
        c.eat();
        m.work(c.getName());
        c.work();
    }
}
